package ro.jproject.imc.model;

public class WrittenExam {
	public int grade;
	public boolean isPassed;

	public int getGrade() {
		return grade;
	}

	public void setGrade(int grade) {
		this.grade = grade;
	}

	public boolean isPassed() {
		if (grade > 5)
			return true;
		return false;
	}

	public void setPassed(boolean isPassed) {
		this.isPassed = isPassed;
	}

}
